@charset "utf-8";
@import url('./common.less');


nav {
	width: 100%;
	height: 88px;
	position: relative;
}

.center {
	width: 1200px;
	margin: 0 auto;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	z-index: 100;
}

.line {
	width: 100%;
	height: 1px;
	background-color: rgb(229, 229, 229);
	position: absolute;
	top: 89px;
	left: 0;
}

.logo {
	height: 88px;
	padding: 0 10px;

	>h1 {
		cursor: pointer;

		>span {
			display: block;
			width: 1px;
			height: 1px;
			overflow: hidden;
			text-indent: -9999px;
			margin: -1px;
		}

		.logo-img {
			height: 52px;
			vertical-align: middle;
			margin-top: 18px;
			text-align: center;
		}

		.logo-text {
			height: 30px;
			padding-top: 20px;
			vertical-align: middle;
			text-align: center;
		}
	}
}

.list {
	>li {
		float: left;

		>a {
			display: block;
			padding: 0 30px;
			font-size: 20px;
			color: #000;
			line-height: 88px;
			font-weight: bold;

			&:hover {
				opacity: 0.7;
			}
		}
	}

}

.shopping>a {
	padding: 0 10px;
	display: block;

	img {
		margin-top: 34px;
		width: 20px;
		height: 22px;
	}

	&:hover {
		opacity: 0.7;
	}
}

.list-s {
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	background-color: #fff;
	display: none;
	height: 0px;

	.list-c {
		position: relative;

		.list-s1 {
			width: 100%;
			height: 155px;
			padding: 34px 0;
			display: none;
			position: absolute;
			z-index: 10;

			>ul {
				display: flex;
				justify-content: center;
			}

			li {
				float: left;

				&:hover p {
					opacity: .7;
				}

				>a {
					display: block;
					font-size: 16px;
					color: #333;
					text-align: center;
					padding: 0 38px;

					>p:last-child {
						font-size: 12px;
						color: rgb(27, 204, 212);
					}
				}

				img {
					width: 115px;
					height: 115px;
				}

			}

		}

	}
}

.mask {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 2;
	display: none;
	opacity: 0;
	height: 1000px;
	background-color: #000;
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 10%, 0);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
	}
}